<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tetris Game: CMoveDownAnimator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tetris Game
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Test game project created via Irrlicht and Qt</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_c_move_down_animator.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CMoveDownAnimator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CMoveDownAnimator" -->
<p><code>#include &lt;<a class="el" href="_c_move_down_animator_8h_source.html">CMoveDownAnimator.h</a>&gt;</code></p>

<p><a href="class_c_move_down_animator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#ae47d21445c9ecb7b19009f76241e093e">CMoveDownAnimator</a> (<a class="el" href="class_c_game_field_manager.html">CGameFieldManager</a> *gameFieldManager, bool twoDimensionalMode, irr::u32 step, irr::f32 <a class="el" href="class_c_move_down_animator.html#accb27d1d71b19fe1524f640d8560a0cd">delay</a>, irr::core::aabbox3df <a class="el" href="class_c_move_down_animator.html#accdeef37221b28e4e61dd63e87ed2ddb">aabb</a>=irr::core::aabbox3df(irr::core::vector3df(0.0f, 0.0f, 0.0f)))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a982f970e23d81c8689ce89709bc5f629">animateNode</a> (irr::scene::ISceneNode *node, irr::u32 timeMs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <br class="typebreak"/>
irr::scene::ISceneNodeAnimator *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a16dacd5a03934546b111369c3fbb8b20">createClone</a> (irr::scene::ISceneNode *node, irr::scene::ISceneManager *newManager)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a684250581adb83969be74c496403736c">~CMoveDownAnimator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#ac984b42f35f8894776108b196fa83fb7">getStep</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#ab64538d744ad51037dffd8c2bee7fa56">setStep</a> (irr::u32 step)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::f32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a572fa4eb9a85859728865d0dba7b99e5">getDelay</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a7674a8242d96da603c050a843e2495b7">setDelay</a> (irr::f32 <a class="el" href="class_c_move_down_animator.html#accb27d1d71b19fe1524f640d8560a0cd">delay</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a624da18a847ea8c3c51f2fb67e181527">isStopped</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a704eff39a1e7a93c3ab1d7f98a72a2d8">setStoppedValue</a> (bool newStoppedValue)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::vector3di&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#a39db20fe68fd6436c04ae3293bbcb318">directionStep</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#accb27d1d71b19fe1524f640d8560a0cd">delay</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::aabbox3df&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_move_down_animator.html#accdeef37221b28e4e61dd63e87ed2ddb">aabb</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Animator that manages moving node down by step (with some delay), with field interaction </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae47d21445c9ecb7b19009f76241e093e"></a><!-- doxytag: member="CMoveDownAnimator::CMoveDownAnimator" ref="ae47d21445c9ecb7b19009f76241e093e" args="(CGameFieldManager *gameFieldManager, bool twoDimensionalMode, irr::u32 step, irr::f32 delay, irr::core::aabbox3df aabb=irr::core::aabbox3df(irr::core::vector3df(0.0f, 0.0f, 0.0f)))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_move_down_animator.html#ae47d21445c9ecb7b19009f76241e093e">CMoveDownAnimator::CMoveDownAnimator</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_game_field_manager.html">CGameFieldManager</a> *&#160;</td>
          <td class="paramname"><em>gameFieldManager</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>twoDimensionalMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::u32&#160;</td>
          <td class="paramname"><em>step</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>delay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::core::aabbox3df&#160;</td>
          <td class="paramname"><em>aabb</em> = <code>irr::core::aabbox3df(irr::core::vector3df(0.0f,&#160;0.0f,&#160;0.0f))</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">gameFieldManager</td><td>- game field manager </td></tr>
    <tr><td class="paramname">twoDimensionalMode</td><td>- true, if game proceeds in two dimensions, false otherwise </td></tr>
    <tr><td class="paramname">step</td><td>- step which indicates speed of descending </td></tr>
    <tr><td class="paramname">delay</td><td>- delay between steps, in milliseconds </td></tr>
    <tr><td class="paramname">aabb</td><td>- axis aligned bounding box that indicated borders for animator, if no aabb set, animator has no boundaries </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a684250581adb83969be74c496403736c"></a><!-- doxytag: member="CMoveDownAnimator::~CMoveDownAnimator" ref="a684250581adb83969be74c496403736c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_move_down_animator.html#a684250581adb83969be74c496403736c">CMoveDownAnimator::~CMoveDownAnimator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor, not implemented </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a982f970e23d81c8689ce89709bc5f629"></a><!-- doxytag: member="CMoveDownAnimator::animateNode" ref="a982f970e23d81c8689ce89709bc5f629" args="(irr::scene::ISceneNode *node, irr::u32 timeMs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_move_down_animator.html#a982f970e23d81c8689ce89709bc5f629">CMoveDownAnimator::animateNode</a> </td>
          <td>(</td>
          <td class="paramtype">irr::scene::ISceneNode *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::u32&#160;</td>
          <td class="paramname"><em>timeMs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a16dacd5a03934546b111369c3fbb8b20"></a><!-- doxytag: member="CMoveDownAnimator::createClone" ref="a16dacd5a03934546b111369c3fbb8b20" args="(irr::scene::ISceneNode *node, irr::scene::ISceneManager *newManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::ISceneNodeAnimator * <a class="el" href="class_c_move_down_animator.html#a16dacd5a03934546b111369c3fbb8b20">CMoveDownAnimator::createClone</a> </td>
          <td>(</td>
          <td class="paramtype">irr::scene::ISceneNode *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::scene::ISceneManager *&#160;</td>
          <td class="paramname"><em>newManager</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="a572fa4eb9a85859728865d0dba7b99e5"></a><!-- doxytag: member="CMoveDownAnimator::getDelay" ref="a572fa4eb9a85859728865d0dba7b99e5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::f32 <a class="el" href="class_c_move_down_animator.html#a572fa4eb9a85859728865d0dba7b99e5">CMoveDownAnimator::getDelay</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>current delay between steps, in milliseconds </dd></dl>

</div>
</div>
<a class="anchor" id="ac984b42f35f8894776108b196fa83fb7"></a><!-- doxytag: member="CMoveDownAnimator::getStep" ref="ac984b42f35f8894776108b196fa83fb7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::u32 <a class="el" href="class_c_move_down_animator.html#ac984b42f35f8894776108b196fa83fb7">CMoveDownAnimator::getStep</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>current animator step </dd></dl>

</div>
</div>
<a class="anchor" id="a624da18a847ea8c3c51f2fb67e181527"></a><!-- doxytag: member="CMoveDownAnimator::isStopped" ref="a624da18a847ea8c3c51f2fb67e181527" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_move_down_animator.html#a624da18a847ea8c3c51f2fb67e181527">CMoveDownAnimator::isStopped</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if animator stopped and don't affect on node </dd></dl>

</div>
</div>
<a class="anchor" id="a7674a8242d96da603c050a843e2495b7"></a><!-- doxytag: member="CMoveDownAnimator::setDelay" ref="a7674a8242d96da603c050a843e2495b7" args="(irr::f32 delay)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_move_down_animator.html#a7674a8242d96da603c050a843e2495b7">CMoveDownAnimator::setDelay</a> </td>
          <td>(</td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>delay</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">delay</td><td>- new delay between steps, in milliseconds </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab64538d744ad51037dffd8c2bee7fa56"></a><!-- doxytag: member="CMoveDownAnimator::setStep" ref="ab64538d744ad51037dffd8c2bee7fa56" args="(irr::u32 step)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_move_down_animator.html#ab64538d744ad51037dffd8c2bee7fa56">CMoveDownAnimator::setStep</a> </td>
          <td>(</td>
          <td class="paramtype">irr::u32&#160;</td>
          <td class="paramname"><em>step</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">step</td><td>- new step for animator </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a704eff39a1e7a93c3ab1d7f98a72a2d8"></a><!-- doxytag: member="CMoveDownAnimator::setStoppedValue" ref="a704eff39a1e7a93c3ab1d7f98a72a2d8" args="(bool newStoppedValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_move_down_animator.html#a704eff39a1e7a93c3ab1d7f98a72a2d8">CMoveDownAnimator::setStoppedValue</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newStoppedValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newStoppedValue</td><td>- new value for stopped flag </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="accdeef37221b28e4e61dd63e87ed2ddb"></a><!-- doxytag: member="CMoveDownAnimator::aabb" ref="accdeef37221b28e4e61dd63e87ed2ddb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::aabbox3df <a class="el" href="class_c_move_down_animator.html#accdeef37221b28e4e61dd63e87ed2ddb">CMoveDownAnimator::aabb</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>axis aligned bounding box that indicated borders for animator </p>

</div>
</div>
<a class="anchor" id="accb27d1d71b19fe1524f640d8560a0cd"></a><!-- doxytag: member="CMoveDownAnimator::delay" ref="accb27d1d71b19fe1524f640d8560a0cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::u32 <a class="el" href="class_c_move_down_animator.html#accb27d1d71b19fe1524f640d8560a0cd">CMoveDownAnimator::delay</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>delay between steps, in milliseconds </p>

</div>
</div>
<a class="anchor" id="a39db20fe68fd6436c04ae3293bbcb318"></a><!-- doxytag: member="CMoveDownAnimator::directionStep" ref="a39db20fe68fd6436c04ae3293bbcb318" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::vector3di <a class="el" href="class_c_move_down_animator.html#a39db20fe68fd6436c04ae3293bbcb318">CMoveDownAnimator::directionStep</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>direction in which node will move each step </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/hokan/NetBeansProjects/TetrisGame/headers/<a class="el" href="_c_move_down_animator_8h_source.html">CMoveDownAnimator.h</a></li>
<li>/home/hokan/NetBeansProjects/TetrisGame/sources/CMoveDownAnimator.cpp</li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_c_move_down_animator.html">CMoveDownAnimator</a>      </li>

    <li class="footer">Generated on Sun Jul 6 2014 19:35:11 for Tetris Game by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
